package com.valuegroup.smarttodo.data.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;

import java.io.Serializable;
import java.util.Date;

import org.greenrobot.greendao.annotation.Generated;

/**
 * 理想阶段树
 */
@Entity
public class IdealityStage implements Serializable {
    private static final long serialVersionUID = -6619886817016412013L;
    @Id(autoincrement = true)
    private Long id;
    private Long ideaId;
    private Long pid;
    private String title;

    private Date startDt;
    private Date endDt;

    // 是否完成
    private Boolean isFinish;

    private Integer sort;
    @NotNull
    private Date createdDt;
    @NotNull
    private Date updatedDt;
    @NotNull
    private Integer status;
    @Generated(hash = 142545293)
    public IdealityStage(Long id, Long ideaId, Long pid, String title, Date startDt,
            Date endDt, Boolean isFinish, Integer sort, @NotNull Date createdDt,
            @NotNull Date updatedDt, @NotNull Integer status) {
        this.id = id;
        this.ideaId = ideaId;
        this.pid = pid;
        this.title = title;
        this.startDt = startDt;
        this.endDt = endDt;
        this.isFinish = isFinish;
        this.sort = sort;
        this.createdDt = createdDt;
        this.updatedDt = updatedDt;
        this.status = status;
    }
    @Generated(hash = 2140526075)
    public IdealityStage() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public Long getIdeaId() {
        return this.ideaId;
    }
    public void setIdeaId(Long ideaId) {
        this.ideaId = ideaId;
    }
    public Long getPid() {
        return this.pid;
    }
    public void setPid(Long pid) {
        this.pid = pid;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public Date getStartDt() {
        return this.startDt;
    }
    public void setStartDt(Date startDt) {
        this.startDt = startDt;
    }
    public Date getEndDt() {
        return this.endDt;
    }
    public void setEndDt(Date endDt) {
        this.endDt = endDt;
    }
    public Boolean getIsFinish() {
        return this.isFinish;
    }
    public void setIsFinish(Boolean isFinish) {
        this.isFinish = isFinish;
    }
    public Integer getSort() {
        return this.sort;
    }
    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Date getCreatedDt() {
        return this.createdDt;
    }
    public void setCreatedDt(Date createdDt) {
        this.createdDt = createdDt;
    }
    public Date getUpdatedDt() {
        return this.updatedDt;
    }
    public void setUpdatedDt(Date updatedDt) {
        this.updatedDt = updatedDt;
    }
    public Integer getStatus() {
        return this.status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
}
